package com.dayu.finecomm.mongo.pojo;

public class Gateway extends Basic<Gateway> {

	private static final long serialVersionUID = 1L;

	/**
	 * 数据来源(ip和端口)
	 */
	private static final String FIELD_SOURCE = "source";

	/**
	 * 测站编码
	 */
	private static final String FIELD_GATEWAY = "gateway";

	/**
	 * 数据格式
	 */
	private static final String FIELD_FORMAT = "format";

	/**
	 * 数据正文
	 */
	private static final String FIELD_VALUE = "value";

	public String getValue() {
		return getString(FIELD_VALUE);
	}

	public void setValue(String value) {
		put(FIELD_VALUE, value);
	}

	public String getFormat() {
		return getString(FIELD_FORMAT);
	}

	public void setFormat(String format) {
		put(FIELD_FORMAT, format);
	}

	public String getSource() {
		return getString(FIELD_SOURCE);
	}

	public void setSource(String source) {

		put(FIELD_SOURCE, source);
	}

	public String getGateway() {
		return getString(FIELD_GATEWAY);
	}

	public void setGateway(String gateway) {
		put(FIELD_GATEWAY, gateway);
	}

}
